package com.world.business.area.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.world.business.area.domain.Area;
import com.world.business.area.domain.query.AreaPageRequest;
import com.world.business.area.domain.vo.AreaTreeVO;

import java.util.List;

/**
 * 地区 服务类
 *
 * @author 邓驴
 * @date 2023/05/13 15:45
 */
public interface IAreaService extends IService<Area> {

    /**
     * 获取地区树
     *
     * @param request 请求参数
     * @return {@link List<AreaTreeVO>}
     * @author WangYX
     * @date 2023/09/11 16:58
     */
    List<AreaTreeVO> tree(AreaPageRequest request);

}
